package com.example.mysqlsearchdemo.repositories;

import com.example.mysqlsearchdemo.entities.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;
import java.util.List;

public interface UserRepository extends JpaRepository<User, Long> {
    List<User> findByIdIn(Collection<Long> userIds);
}
